student={'张三':0,'老汪':0,'狗哥':0,'大哥':0,'瓜瓜':0}
count=0
while count<5:
    name=input("请输入你想投票的名字")
    if name=='张三':
       student['张三']+=1
    elif name=='老汪':
       student['老汪']+=1
    elif name=='狗哥':
       student['狗哥']+=1
    elif name=='大哥':
       student['大哥']+=1
    else:
       student['瓜瓜']+=1
    count+=1
print(student)
max(student.values())
for key,value in student.items():
    if(value == max(student.values())):
        print('恭喜%s成为班长'%key)
